﻿@page "/install-wasm"
@inject IStringLocalizer<Install_wasm> Localizer

<InstallContent Title="@Localizer["Title"]" HostFile="wwwroot/index.html">
<Pre>public class Program
{
    public static async Task Main(string[] args)
    {
        var builder = WebAssemblyHostBuilder.CreateDefault(args);
        builder.RootComponents.Add&lt;App&gt;("app");
        builder.Services.AddTransient(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });

        // @Localizer["CodeComment"]
        builder.Services.AddBootstrapBlazor();

        await builder.Build().RunAsync();
    }
}</Pre>
</InstallContent>
